import request from "@/utils/request.js";
const user = {
	//账户登录
	userLogin: data => request.post("/api/xilumarket/user/mobilelogin", data, {
		noAuth: true
	}),
	// 获取视频列表
	getVideoList: data => request.post("/api/xilumarket/user/videoList", data, {
		noAuth: true
	}),
	//获取JSSDK配置
	getJSSDKConfig: data => request.post("/api/user/getJsConfig",data, {
		noAuth: true
	}),
	//获取新人配置的VIp天数
	getAgentNewday: data => request.post("/api/user/getAgent_day", data),
	//新人Vip领取
	submitReceiveVip: data => request.post("/api/user/setVipDay", data),
	// 获取用户聊天信息
	getInitialize: (data) => request.get("/addons/fastchat/index/initialize", data),
	// 意见反馈
	submitFeedBack: (data) => request.post("/api/xilumarket/user/feedback", data),
	// 匿名举报
	submitReport: (data) => request.post("/api/xilumarket/user/report", data),
	// 获取用户信息
	getUserInfo: () => request.post("/api/xilumarket/user/info"),
	// 获取分享配置
	getShareConfig: (data) => request.post("/api/user/getParentData", data),
	// 获取用户微信
	getUserInfoWx: (data) => request.post("/api/xilumarket/user/get_wechat",data),
	// 绑定微信
	bindWechat: (data) => request.post("/api/xilumarket/user/bindOpenId", data),
	// 获取Vip信息
	getVipInfo: () => request.post("/api/vip/index"),
	// 提交Vip信息
	submitVipInfo: (data) => request.post("/api/vip/submit", data),
	//校验iOS付款信息
	verifyApplePayResult: (data) => request.post("/api/vip/ios_verify", data),
	// 修改用户信息
	updateUserInfo: (data) => request.post("/api/xilumarket/user/profile", data),
	// 修改用户信息
	updateUserImage: (data) => request.post("/api/xilumarket/user/editImage", data),
	// 实名认证
	submitUserAuth: (data) => request.post("/api/xilumarket/user/auth", data),
	// 获取推荐列表
	getUserList: (data) => request.post("/api/xilumarket/user/getUserList", data, {
		noAuth: true
	}),
	// 获取用户主页
	getUserHome: (data) => request.post("/api/xilumarket/user/home", data, {
		noAuth: true
	}),
	// 用户解锁
	subUserUnLock: (data) => request.post("/api/xilumarket/user/unlock", data),
	// 用户关注
	friendsFollow: (data) => request.post("/api/xilumarket/forum/toggle_focus", data),
	// 动态发布
	addForumInfo: (data) => request.post("/api/xilumarket/forum/add_forum", data),
	// 动态删除
	delForumInfo: (data) => request.post("/api/xilumarket/forum/del_forum", data),
	// 动态点赞
	toggleFavForum: (data) => request.post("/api/xilumarket/forum/toggle_fav", data),
	// 获取动态列表
	getForumList: (data) => request.post("/api/xilumarket/forum/lists", data, {
		noAuth: true
	}),
	// 获取他人动态列表
	getOrtherForumList: (data) => request.post("/api/xilumarket/user/home_forum", data, {
		noAuth: true
	}),
	// 获取访客列表
	getViewList: (data) => request.post("/api/xilumarket/user/footer_view", data),
	// 获取用户动态列表
	getUserForumList: (data) => request.post("/api/xilumarket/user/home_forum", data),
	// 获取用户解锁列表
	getUnlockLog: (data) => request.post("/api/xilumarket/user/unlockLog", data),
	// 获取用户解锁列表
	getUnlockLogNew: (data) => request.post("/api/xilumarket/user/unlockLogTwo", data),
	// 用户拉黑移除
	editBlackUser: (data) => request.post("/api/xilumarket/message/edit_black", data),
	// 获取用户黑名单
	getBlackList: (data) => request.post("/api/xilumarket/message/get_black_list", data),
	// 获取系统消息列表
	getSystemMessageList: (data) => request.post("/api/xilumarket.message/system_list", data),
	// 充值套餐
	rechargeConfig: (data) => request.post("/api/recharge/rechargeConfig", data),
	// 钻石充值
	moneyRecharge: (data) => request.post("/api/recharge/submit", data),
	// 充值记录
	moneyRechargeList: (data) => request.post("/api/recharge/moneyRechargeList", data),
	// 消费记录
	moneyLog: (data) => request.post("/api/recharge/moneyLog", data),
	// 存储唯一值和推荐 id
	add0nly: (data) => request.post("/api/index/add0nly", data),
	//通过唯一值获取推荐人 Id
	getOnly: (data) => request.post("/api/index/getOnly", data),
	
}
export default user;